package dominio;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="amministratore")
public class Amministratore implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String username;
	private String password;
	private boolean connesso;

	@Id
	@Column(name="username")
	public String getUsername() {
	
		return username;
	
	}
	
	public void setUsername(String username) {
	
		this.username = username;
	
	}
	
	@Column(name="password")
	public String getPassword() {
	
		return password;
	
	}
	
	public void setPassword(String password) {
	
		this.password = password;
	
	}

	@Column(name="connesso")
	public boolean isConnesso() {
		
		return connesso;
	
	}

	public void setConnesso(boolean connesso) {
	
		this.connesso = connesso;
	
	}
	
}
